package com.effectiv.gooruda.rest.api.domain;

import javax.validation.constraints.NotNull;
import org.springframework.data.mongodb.core.index.Indexed;

import com.effectiv.gooruda.rest.docs.core.annotation.ApiObject;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ApiObject(name="Permission", description="Permission object")
@ToString
public class Permission extends PesistentBase{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	@NotNull
	@Indexed(unique=true)
	@Getter @Setter
	private String name;
}
